﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var integer = 4;
        var check = integer % 2;
        if (check == 1) {
            document.writeln("The number is odd.");
        }
        else {
            document.writeln("The number is even.");
        }
    </script>
</body>
</html>
